Skip to content

refactor(selection): new approach#700

Merged
harbournick merged 2 commits intodevelopfrom
har-10152_new-selection-approach
Jul 24, 2025
Merged

refactor(selection): new approach#700
harbournick merged 2 commits intodevelopfrom
har-10152_new-selection-approach

Conversation

@VladaHarbour
Copy link
Copy Markdown
Contributor

Hi @harbournick! I decided to move to different selection approach and try to use as much native selection as possible to avoid bugs and issues. Custom selection will jump in when toolbar item is clicked (to make it unified for the whole toolbar) and will have a slightly different colour from the native one. Could you please check this one and let me know what do you think
cc @artem-harbour

@linear
Copy link
Copy Markdown

linear Bot commented Jul 24, 2025

Comment thread packages/super-editor/src/extensions/custom-selection/custom-selection.js Outdated
Copy link
Copy Markdown
Contributor

@artem-harbour artem-harbour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comment to fix.

Copy link
Copy Markdown
Collaborator

@harbournick harbournick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harbournick harbournick dismissed artem-harbour’s stale review July 24, 2025 17:47

I added a commit to fix this - nice catch!

@harbournick harbournick merged commit 8115e33 into develop Jul 24, 2025
8 of 10 checks passed
@harbournick harbournick deleted the har-10152_new-selection-approach branch July 24, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants